package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.OrderTeamDao;
import com.bootdo.wx.domain.OrderTeamDO;
import com.bootdo.wx.service.OrderTeamService;



@Service
public class OrderTeamServiceImpl implements OrderTeamService {
	@Autowired
	private OrderTeamDao orderTeamDao;
	
	@Override
	public OrderTeamDO get(String id){
		return orderTeamDao.get(id);
	}
	
	@Override
	public List<OrderTeamDO> list(Map<String, Object> map){
		return orderTeamDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orderTeamDao.count(map);
	}
	
	@Override
	public int save(OrderTeamDO orderTeam){
		return orderTeamDao.save(orderTeam);
	}
	
	@Override
	public int update(OrderTeamDO orderTeam){
		return orderTeamDao.update(orderTeam);
	}
	
	@Override
	public int remove(String id){
		return orderTeamDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return orderTeamDao.batchRemove(ids);
	}
	
}
